package com.yaowk.service.entity;

import com.yaowk.service.common.BaseEntity;
import com.yaowk.service.common.GeneratorNote;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;

@Getter
@Setter
@ToString
@Entity
@DynamicUpdate
@DynamicInsert
public class CmTest1 extends BaseEntity<Integer> {

    @GeneratorNote("123")
    private String businessId;

    private CmTest2 test2;
}
